Using task scheduler, you can display timely messages using pop-up windows. These popup messages are useful for convenient alerts and knowledge. Follow the below steps to know how you can display popup message in Windows 10.
In Windows 7, task scheduler has a neat feature called "Display a Message". By using this feature, you can make the task scheduler to exhibit a message utilizing a simple pop-up window.
However, starting from Windows 8, Microsoft deprecated both the "Display a Message" and "Send an Email" features. If you try to use any of the deprecated features, it'll show "The task definition uses a deprecated feature" error.
Fortunately, there's a workaround which lets you use the task scheduler to exhibit a quick message on a scheduled time or event. Without further ado, let me demonstrate how.
Show Popup Message with Task Scheduler
1. Open the task scheduler by trying to find "Task Scheduler" within the start menu.
2. In the task scheduler, click the "Create Basic Task" option appearing around the right sidebar.
3. Now, enter a brand new title and outline for the task and then click the "Next" button.
4. Here, select when the task must start. With my case, I would like the content to appear when the system starts. So, I selected "When the pc starts" option. You can select any trigger you want.
Note: With respect to the option you choose, you might need to configure additional options. For instance, if you choose the Daily option, you need to select a time to display the message.
5. After selecting a proper trigger, select "Start a program" option and click "Next". We are going to use Command Prompt/PowerShell to display the content window.
6. Within this window, fill in the blank fields as below. If you want to use the command prompt, follow the command prompt method. For PowerShell, stick to the PowerShell method.
Command Prompt:
Program/Script - msg
Arguments - * Replace_With_Your_Message
Don't forget to replace "Replace_With_Your_Message" with your actual message.
Important: Don't remove * in front of the message within the Arguments field.
PowerShell:
Program/Script - powershell
Argument - Go into the below command
-WindowStyle hidden -Command "& [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.MessageBox]::Show('Relace_With_Your_Message','Message_Title')"
Don't forget to replace "Replace_With_Your_Message" with your actual message and "Message_Title" with a title. The title appears on the window title bar.
Click on the "Next" button to carry on.
7. Within the Summary window, click the "Finish" button to accomplish the task creation process.
8. After creating the task, we can verify it is working or not. To do that, choose the "Task Scheduler Library" option around the right panel, find the task you simply made in the center panel, right-click on it and choose "Run".
9. If everything goes properly, you should visit a popup window with your message in it.
In the future the job scheduler displays the popup message window according to your scheduled trigger. With my case, the popup window will appear as soon as I start and log into my system. If you want to, you can also delay start the job in task scheduler.
Wrapping Up
That's all. It's that simple to exhibit a popup message in Windows 10 using a built-in tool like Task Scheduler.
:: بازدید از این مطلب : 395
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0